<?php echo'<?xml version="1.0" encoding="UTF-8" ?>' ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc><?php echo base_url();?></loc>
        <priority>1.00</priority>
    </url>
    <url>
        <loc><?php echo base_url();?>jobseekers</loc>
        <priority>0.85</priority>
    </url>
    <url>
        <loc><?php echo base_url();?>employers</loc>
        <priority>0.85</priority>
    </url>
    <url>
        <loc><?php echo base_url();?>contact</loc>
        <priority>0.85</priority>
    </url>
    <url>
        <loc><?php echo base_url();?>list-all-job</loc>
        <priority>0.85</priority>
    </url>
    <!-- Your Sitemap -->
    <?php foreach($latest_jobs as $latest_job){
		$job_title=$latest_job->job_title;
		$job_key=$latest_job->job_key;	
        $company_name = $latest_job->company_name;
        $date_avaliable = $latest_job->date_available;
        $date_create= $latest_job->job_create_date;
	 ?>
        <url>
            <loc><?php echo base_url();?>jobs/detail/<?php echo $job_key;?></loc>
            <priority>0.69</priority>
        </url>
    <?php } ?>
 
</urlset>